package com.shelpe.services.lexicon.repository.mongo;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.shelpe.services.lexicon.constants.Origin;
import com.shelpe.services.lexicon.entity.KeywordRelation;

public interface KeywordRelationRepository extends PagingAndSortingRepository<KeywordRelation, String> {

	List<KeywordRelation> findBySourceWordInAndOriginAndAndWeightGreaterThan(List<String> words, Origin origin, int weight);
}
